package xia.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xia.mapper.FootballclubMapper;
import xia.entity.Footballclub.Footballclub;
import xia.service.FootballclubService;

import java.util.List;
@Service
public class FootballclubServiceImpl implements FootballclubService {
    @Autowired
    private FootballclubMapper footballclubmapper;
    public List<Footballclub> getAll() {
        return footballclubmapper.selectAll();
    }
    public Footballclub getOne(Footballclub t){
        return footballclubmapper.selectOne(t);
    }
    public List<Footballclub> selectByAddress(Footballclub t){
        return footballclubmapper.select(t);
    }
}
